home *** CD-ROM | disk | FTP | other *** search
-
-
-
- LLLLIIIIBBBBEEEEXXXXCCCC((((3333FFFF)))) LLLLIIIIBBBBEEEEXXXXCCCC((((3333FFFF))))
-
-
-
- NNNNAAAAMMMMEEEE
- trace_back_stack, trace_back_stack_and_print - call stack trace library
- for Fortran applications
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- iiiinnnntttteeeeggggeeeerrrr****4444 ttttrrrraaaacccceeee____bbbbaaaacccckkkk____ssssttttaaaacccckkkk
- iiiinnnntttteeeeggggeeeerrrr****4444 iiii
- iiiinnnntttteeeeggggeeeerrrr****8888 aaaaddddddddrrrrssss((((111100000000))))
- cccchhhhaaaarrrraaaacccctttteeeerrrr****111100000000 nnnnaaaammmmeeeessss((((111100000000))))
- iiii ==== ttttrrrraaaacccceeee____bbbbaaaacccckkkk____ssssttttaaaacccckkkk((((0000,,,, aaaaddddddddrrrrssss,,,, nnnnaaaammmmeeeessss,,,,
- 111100000000,,,, 111100000000))))
-
- ccccaaaallllllll ttttrrrraaaacccceeee____bbbbaaaacccckkkk____ssssttttaaaacccckkkk____aaaannnndddd____pppprrrriiiinnnntttt(((())))
-
- iiiinnnntttteeeeggggeeeerrrr****8888 aaaaddddddddrrrr,,,, eeeennnnttttrrrryyyy
- cccchhhhaaaarrrraaaacccctttteeeerrrr****111100000000 nnnnaaaammmmeeee
- ccccaaaallllllll eeeexxxxcccc____ddddllllaaaaddddddddrrrr((((aaaaddddddddrrrr,,,, nnnnaaaammmmeeee,,,, 111100000000,,,, eeeennnnttttrrrryyyy))))
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _l_i_b_e_x_c library provides the functionality for user-level call stack
- unwind.
-
- ttttrrrraaaacccceeee____bbbbaaaacccckkkk____ssssttttaaaacccckkkk is used to unwind the call stack at the time it's
- called. The first argument sets the number of stack frames to be
- unwound. If it's set to zero the unwind continues up to main or up to
- _nsproc/_fork for child processes. The second argument is the array that
- contains the addresses of the callers in the stack after the unwind is
- completed. The third argument contains the names of the functions in the
- stack after the unwind is completed. If this argument is set to NULL, it
- disables procedure name extraction. The fourth argument is the size of
- the array of callers and the fifth argument is the size of the procedure
- name strings.
-
- ttttrrrraaaacccceeee____bbbbaaaacccckkkk____ssssttttaaaacccckkkk____aaaannnndddd____pppprrrriiiinnnntttt unwinds the call stack (up to main or up to
- _nsproc/_fork for child processes) and prints it to the standard output.
- First, the pid of the process and the number of frames in the stack are
- printed and then, for each frame, the program counter and the function
- name.
-
- eeeexxxxcccc____ddddllllaaaaddddddddrrrr maps a text address to the procedure that includes it. The
- first argument is the address to be mapped. The second argument will
- contain the procedure name upon return and the third argument is the size
- of the procedure name string. The fourth argument will contain the
- procedure entry address upon return.
-
- EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS
- ____LLLLIIIIBBBBEEEEXXXXCCCC____CCCCAAAACCCCHHHHEEEE when set enables dwarf information caching (N32/N64 ABI's
- only).
-
- ____LLLLIIIIBBBBEEEEXXXXCCCC____NNNNOOOO____PPPPRRRROOOOCCCC____NNNNAAAAMMMMEEEE when set disables procedure name extraction (N32/N64
- ABI's only).
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- LLLLIIIIBBBBEEEEXXXXCCCC((((3333FFFF)))) LLLLIIIIBBBBEEEEXXXXCCCC((((3333FFFF))))
-
-
-
- ____LLLLIIIIBBBBEEEEXXXXCCCC____IIIINNNNIIIITTTT when set forces some dwarf information loading at the time
- of the first call to the libexc functions (N32/N64 ABI's only).
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- speedshop(1), libexc(3)
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Upon successful completion, both functions return the number of call
- stack frames that were unwound. In the event of failure, a zero value is
- returned.
-
- NNNNOOOOTTTTEEEESSSS
- Executables complying to the o32 ABI have to be explicitly linked with
- libexc.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-